package com.travel.rabbit.service;

import com.travel.rabbit.entity.GoodsCategory;
import com.travel.rabbit.entity.Result;
import com.travel.rabbit.dto.GoodsCategoryDTO;

/**
 * @author 云澜
 * @date 2021/12/31 3:59 下午
 */
public interface GoodsCategoryService {
    /**
     * 添加分类
     * @param categoryVO
     * @return
     */
    Result add(GoodsCategoryDTO categoryVO);

    GoodsCategory queryById(Integer id);
}
